<template><div><h2 id="环境搭建" tabindex="-1"><a class="header-anchor" href="#环境搭建" aria-hidden="true">#</a> 环境搭建</h2>
<CodeGroup>
  <CodeGroupItem title="anaconda" active>
<div class="language-bash ext-sh line-numbers-mode"><pre v-pre class="language-bash"><code><span class="token comment"># 网站: https://www.anaconda.com/</span>
<span class="token comment"># Version: Individual Edition</span>
<span class="token comment"># 默认安装python 3.9</span>
anaconda 
<span class="token comment"># 测试安装</span>
conda list
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>  </CodeGroupItem>
  <CodeGroupItem title="CUDA">
<div class="language-bash ext-sh line-numbers-mode"><pre v-pre class="language-bash"><code><span class="token comment"># 网站: https://developer.nvidia.cn/cuda-toolkit-archive</span>
<span class="token comment"># Version 11.3</span>
CUDA
<span class="token comment"># 测试安装</span>
nvcc -V
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>  </CodeGroupItem>
 <CodeGroupItem title="PyTorch">
<div class="language-bash ext-sh line-numbers-mode"><pre v-pre class="language-bash"><code><span class="token comment"># 网站: https://pytorch.org/get-started/locally/</span>
<span class="token comment"># Version 1.10.1</span>
<span class="token comment"># 下载链接：conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch</span>
PyTorch
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>  </CodeGroupItem>
 <CodeGroupItem title="PyCharm">
<div class="language-bash ext-sh line-numbers-mode"><pre v-pre class="language-bash"><code><span class="token comment"># 网站: https://www.jetbrains.com/zh-cn/pycharm/</span>
<span class="token comment"># Version 2021.1.3</span>
PyCharm
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>  </CodeGroupItem>
</CodeGroup>
</div></template>
